
fivep.exe : obj\fivep.obj obj\lexyy.obj obj\arrays.obj
   tlink c0l+obj\fivep+obj\lexyy+obj\arrays,fivep.exe,nul,cl

obj\fivep.obj : fivep.c
   bcc -c -ml -I..\..\include -o$@ fivep.c

obj\arrays.obj : arrays.c arrays.h
   bcc -c -ml -I..\..\include -o$@ arrays.c

fivep.c : fivep.y
   byacc -d -v -t fivep.y
   @del fivep.c
   @copy y_tab.c fivep.c
   @del y_tab.c
   @copy y_tab.h fivep.h
   @del y_tab.h

obj\lexyy.obj : fivep.l
   lex -S..\..\tools\lex.sk -i fivep.l
   bcc -c -ml -o$@ lexyy.c

